﻿@using Orchard.ContentManagement
@using PJS.Bootstrap.Models
@{
    var settings = WorkContext.CurrentSite.As<ThemeSettingsPart>();
    var hRef = settings.UseAsSpa ? Model.Href.Replace(Url.Content("~/") + WorkContext.CurrentCulture.ToLower(), Url.Content("~/") + WorkContext.CurrentCulture.ToLower() + "/#") : Model.Href;
}
<a class="dropdown-toggle" data-toggle="dropdown" href="@hRef">@Model.Text <i class="fa fa-angle-down"></i></a>